package com.silence.proxy;

public class Test {
    public static void main(String[] args) {
        BigStar xm = new BigStar("小明");
        // 代理对象
        Star proxy = ProxyUtil.createProxy(xm);
        // 代理方法调用
        String sing = proxy.sing("hello");
        System.out.println(sing);
        proxy.dance();

    }
}
